package org.caowei.samples.dao;

import java.util.List;

import org.caowei.samples.model.User;
import org.caowei.samples.vo.UserVO;

public interface IUserDAO extends IBaseDAO<User> {
	public List<User> findAllUsers();

	public User getUserById(String id);
	
	public UserVO getloginById(String id);

	public void createUser(User user) throws Exception;

	public void editUser(User user) throws Exception;

	public void deleteUser(String id) throws Exception;

	public List<User> getAllStudent();
}
